<template>
  <label>
    {{label}}
    <input v-bind="$attrs" :value="value" @input="$emit('input', $event.target.value)">
  </label>
</template>

<script>
export default {
  name: "BaseInput",
  inheritAttrs: false,
  props: ["label", "value"]
};
</script>